home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / e_os300b / ex_mxmpl / eosexam.asm < prev    next >
Encoding:
Assembly Source File  |  1996-11-22  |  1.1 KB  |  54 lines

  1. .486p
  2. CODE32 SEGMENT PUBLIC PARA 'CODE' USE32
  3. ASSUME  CS:CODE32,DS:CODE32,ES:CODE32
  4.  
  5. INCLUDE ..\RESOURCE\EOS.INC
  6.  
  7. include mxmplay.inc
  8.  
  9. copyright db "mxmplay asm example  (c) '95/96 Niklas Beisert / pascal",10,13
  10.           db 'EOS conversion by Eclipse',13,10,10,'$'
  11. playing db 'playing "at0mic playboys" by Screamager... press any key to stop.$'
  12. byebye db 13,10,'thanks for listening',13,10,'$'
  13.  
  14. module:
  15. include atomic.inc
  16.  
  17. mxmdata db 4000h dup (?)
  18.  
  19.  
  20. Start32:
  21.             mov ah,9
  22.             mov edx,offset copyright
  23.             int 21h
  24.  
  25.  
  26.             mov edi,[Environment_addr]
  27.             call xmpGetGUSPort_
  28.             lea ebx,mxmdata
  29.             mov ecx,65536
  30.             mov esi,O module
  31.             mov dl,MXMINTMODEDOS
  32.             call xmpInit_
  33.             xor eax,eax
  34.             call xmpPlay_
  35.  
  36.             mov ah,9
  37.             mov edx,offset playing
  38.             int 21h
  39.  
  40.             xor ah,ah
  41.             Int 16h
  42.  
  43.             mov ah,9
  44.             mov edx,offset byebye
  45.             int 21h
  46.  
  47.             call xmpStop_
  48.  
  49.             mov ax,4c00h
  50.             int 21h
  51.  
  52.             CODE32 ENDS
  53.  
  54.             END